﻿<!DOCTYPE html>

@{
    String type = (String)ViewBag.Type;
    String operation = (String)ViewBag.Operation;
}

<html>
<head>
</head>
<link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/style.css")" />
<script src="@Url.Content("~/Scripts/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/images.js")"></script>

<body>
    <div class="header">

        <!--<img id="logo" src="images/newlogo.png"/>-->
        <div class="subheader">
            <div class="logocontainer">
                <div class="logo">
                    <img id="logo" src="@Url.Content("/Content/images/newlogo2.png")" />
                    
                </div>
            </div>
            <div class="menucontainer">
                <div class="menuitem notlast">
                  @if (type == "Home" && operation == "Index")
{
    <div class="itemtext selectedmenu"><a style="color: rgb(48, 104,43);" href="/Home">Home</a></div>
}
else
{
                    <div class="itemtext"><a href="/Home">Home</a></div>   
                  }
                </div>
                <div class="menuitem notlast">
                    @if (type == "Order" && operation == "Create")
{
    <div class="itemtext selectedmenu"><a style="color: rgb(48, 104,43);" href="/Order/Create" >Create</a></div>
}
else
{
                        <div class="itemtext"><a href="/Order/Create">Create</a></div>
                    }
                </div>
                <div class="menuitem">
                    @if (type == "Order" && operation == "List")
{
    <div class="itemtext selectedmenu"><a style="color: rgb(48, 104,43);" href="/Order/List">Show</a></div>
}
else
{
                        <div class="itemtext"><a href="/Order/List">Show</a></div>
                    }
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="contentheader">
            <img class="img1" src="@Url.Content("/Content/images/headernew.jpg")" />
        </div>
        <div class="subcontent">
             
            @RenderBody()
            
        </div>
    </div>


</body>

</html>